package com.coderMan.generateBeanFromTable.service;

import com.coderMan.generateBeanFromTable.bean.ClazzBean;

/**
 * Created by ${fanchunshuai} on 2017-5-3.
 *
 * @version: V1.0
 * @Desc: 面向接口的编程模式，批量生成定制化的javabean
 *
 * @Copyright (c) 2017 58到家-版权所有
 */
public interface GenerateBean {
    /**
     * 根据创建语句sql
     * 生成javabean的接口方法
     *
     * @param clazzBean  描述java Bean的公共属性
     * @param dbConfigPath DB的配置路径
     * @param dbName db的名称
     * @return
     */
    boolean generateBeanFromTable(ClazzBean clazzBean, String dbConfigPath,String dbName) throws Exception;

}
